package com.itheima.Test3;

public class Demo {
    public static int count=1000;
    static Object lock=new Object();
    public static void main(String[] args) {
        Filam filam = new Filam();
        Thread t1 = new Thread(filam,"窗口1");
        Thread t2 = new Thread(filam,"窗口2");
        t1.start();
        t2.start();
    }
}
